//
// Created by evocrab on 10/25/17.
//


#ifndef UNTITLED_LEETCODESOLUTIONS_H
#define UNTITLED_LEETCODESOLUTIONS_H


struct ListNode {
    int val;
    ListNode *next;
    ListNode(int x) : val(x), next(NULL) {}
};


class LeetcodeSolutions{
//leetcode problem 1
public:
    std::vector<int> twoSum(std::vector<int>& nums,int target);
public:
    std::vector<int> twoSumTwo(std::vector<int>& nums,int target);
public:
    ListNode* addTwoNumbers(ListNode* l1,ListNode* l2);
public:
    int lengthOfLongstSubstring(std::string s);
};

#endif //UNTITLED_LEETCODESOLUTIONS_H
